package org.shan.lf.enums;

import com.mlnx.common.enums.BaseCodeEnum;

/**
 * Created by amanda.shan on 2019-07-29.
 */
public enum  DoctorVerifiedState implements BaseCodeEnum {
    VERIFIEDING("0", "正在审核"), VERIFIED_SUCCESS("2", "审核成功"),
    VERIFIED_FAIL("3", "审核失败");

    private String code;

    private String message;

    DoctorVerifiedState(String code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public String getValue() {
        return code;
    }

    @Override
    public String toString() {
        return name() + "{" +
                "code='" + code + '\'' +
                ", message='" + message + '\'' +
                '}';
    }
}
